<?php

defined('_JEXEC') or die();

jimport('joomla.application.component.controller');

class Easiv2Controller extends JController {
	
	function display() {
		if(JRequest::getVar('view') == "") {
			JRequest::setVar('view', 'splash');
		}
		else {
			JRequest::setVar('view', JRequest::getVar('view'));
		}		
		parent::display();
	}
	
	function gotoInstances() {		
		JRequest::setVar('view', 'ManageInstances');
		
		parent::display();
	}
	
function gotoExtensions() {		
		JRequest::setVar('view', 'ManageExtensions');
		
		parent::display();
	}
}
?>